package com.apply.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.apply.dao.Grande_zcMapper;
import com.apply.entity.ColumnAndValue;
import com.apply.entity.Courses;
import com.apply.entity.Grade_mod;
import com.apply.entity.Teachers_mod;
import com.apply.service.Grande_zcService;
@Service("grande_zcService")
public class Grande_zcServiceImpl implements Grande_zcService{
	@Autowired
	private Grande_zcMapper gzm;

	@Override
	public List<Grade_mod> getGradeBycv(List<ColumnAndValue> cvList, String overText) {
		return gzm.getGradeBycv(cvList, overText);
	}

	@Override
	public List<Teachers_mod> getTeachersByPosid(String positionid , String xq,String kc) {
		return gzm.getTeachersByPosid(positionid , xq,kc);
	}

	@Override
	public List<Courses> getCourses() {
		return gzm.getCourses();
	}

	@Override
	public int getGradeCountBycv(List<ColumnAndValue> cvList, String overText) {
		return gzm.getGradeCountBycv(cvList, overText);
	}

	@Override
	public int setStatus(String status, String id) {
		return gzm.setStatus(status, id);
	}

	@Override
	public int getOpenGradeCount(String coursesid) {
		return gzm.getOpenGradeCount(coursesid);
	}

	@Override
	public int addGrade(Grade_mod grade) {
		return gzm.addGrade(grade);
	}

	@Override
	public int setGradeBycv(List<ColumnAndValue> setList,
			List<ColumnAndValue> cvList) {
		return gzm.setGradeBycv(setList, cvList);
	}

	@Override
	public String getMaxCodeBycoursesid(String coursesid) {
		return gzm.getMaxCodeBycoursesid(coursesid);
	}

	@Override
	public int getTcode() {
		return gzm.getTcode();
	}

	@Override
	public int setTCode(String code) {
		return gzm.setTCode(code);
	}

}
